<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>酒店详情 - 贵州四季康养文旅</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tdesign-icons-vue-next/dist/index.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            color: #333;
        }
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background-color: transparent;
            transition: background-color 0.3s;
            padding: 12px 16px;
        }
        .navbar.scrolled {
            background-color: #ffffff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .gallery-container {
            position: relative;
            height: 280px;
            overflow: hidden;
        }
        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .tag {
            background-color: rgba(0,82,217,0.1);
            color: #0052d9;
            border-radius: 4px;
            padding: 2px 8px;
            font-size: 12px;
            margin-right: 6px;
            display: inline-block;
        }
        .tab-container {
            display: flex;
            border-bottom: 1px solid #eee;
            background: white;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        .tab {
            flex: 1;
            text-align: center;
            padding: 14px 0;
            font-size: 15px;
            position: relative;
        }
        .tab.active {
            color: #0052d9;
            font-weight: 500;
        }
        .tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background-color: #0052d9;
            border-radius: 3px;
        }
        .room-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            margin-bottom: 16px;
        }
        .facility-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 25%;
            margin-bottom: 16px;
        }
        .facility-icon {
            width: 40px;
            height: 40px;
            background-color: #f5f7fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            color: #0052d9;
        }
        .divider {
            height: 8px;
            background-color: #f5f5f5;
            margin: 16px -16px;
        }
        .map-container {
            height: 200px;
            background-color: #e5e7eb;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            margin-top: 16px;
        }
        .section-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }
        .section-title::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 16px;
            background-color: #0052d9;
            border-radius: 2px;
            margin-right: 8px;
        }
        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        .feature-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: rgba(0,82,217,0.1);
            color: #0052d9;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .date-selector {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .date-item {
            flex: 1;
            text-align: center;
        }
        .date-divider {
            width: 1px;
            height: 24px;
            background-color: #e5e7eb;
            margin: 0 16px;
        }
        .bottom-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            padding: 12px 16px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            z-index: 100;
        }
        .calendar-day {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin: 4px;
            font-size: 14px;
        }
        .calendar-day.selected {
            background-color: #0052d9;
            color: white;
        }
        .calendar-day.range {
            background-color: rgba(0,82,217,0.1);
            border-radius: 0;
        }
        .calendar-day.disabled {
            color: #ccc;
        }
    </style>
</head>
<body>
    <!-- 顶部导航栏 -->
    <div class="navbar">
        <div class="flex justify-between items-center">
            <button class="w-10 h-10 flex items-center justify-center rounded-full bg-black bg-opacity-30">
                <i class="t-icon t-icon-chevron-left text-white"></i>
            </button>
            <div class="flex space-x-3">
                <button class="w-10 h-10 flex items-center justify-center rounded-full bg-black bg-opacity-30">
                    <i class="t-icon t-icon-share text-white"></i>
                </button>
                <button class="w-10 h-10 flex items-center justify-center rounded-full bg-black bg-opacity-30">
                    <i class="t-icon t-icon-heart text-white"></i>
                </button>
            </div>
        </div>
    </div>

    <!-- 酒店图片轮播 -->
    <div class="gallery-container">
        <img src="https://images.unsplash.com/photo-1566073771259-6a8506099945" class="gallery-img" alt="青岩古镇温泉客栈">
    </div>

    <!-- 内容区域 -->
    <div class="relative -mt-6 rounded-t-3xl bg-white px-4 pt-6 pb-24">
        <!-- 酒店基本信息 -->
        <div class="mb-4">
            <div class="flex flex-wrap mb-2">
                <span class="tag">私家温泉</span>
                <span class="tag">特色民宿</span>
                <span class="tag">苗族风情</span>
            </div>
            <h1 class="text-xl font-bold mb-1">青岩古镇温泉客栈</h1>
            <div class="flex items-center mb-2">
                <div class="flex text-orange-400 text-sm mr-2">
                    <i class="t-icon t-icon-star-filled"></i>
                    <i class="t-icon t-icon-star-filled"></i>
                    <i class="t-icon t-icon-star-filled"></i>
                    <i class="t-icon t-icon-star-filled"></i>
                    <i class="t-icon t-icon-star-filled"></i>
                </div>
                <span class="text-orange-500 font-medium mr-2">4.9</span>
                <span class="text-gray-500 text-sm">(358条评价)</span>
            </div>
            <p class="text-sm text-gray-600">
                位于青岩古镇中心，明清古建筑风格，每间客房配有私家温泉池
            </p>
            <div class="flex items-center mt-2">
                <i class="t-icon t-icon-location text-gray-400 mr-1"></i>
                <span class="text-sm text-gray-500">贵州省贵阳市花溪区青岩古镇老街45号</span>
            </div>
        </div>

        <!-- 日期选择 -->
        <div class="date-selector">
            <div class="date-item">
                <div class="text-xs text-gray-500">入住</div>
                <div class="text-base font-medium mt-1">5月12日</div>
                <div class="text-xs text-gray-500">周五</div>
            </div>
            <div class="date-divider"></div>
            <div class="date-item">
                <div class="text-xs text-gray-500">离店</div>
                <div class="text-base font-medium mt-1">5月14日</div>
                <div class="text-xs text-gray-500">周日</div>
            </div>
            <div class="date-divider"></div>
            <div class="date-item">
                <div class="text-xs text-gray-500">住</div>
                <div class="text-base font-medium mt-1">2晚</div>
            </div>
        </div>

        <!-- 房型列表 -->
        <div class="mb-6">
            <h2 class="section-title">可预订房型</h2>
            
            <!-- 房型1 -->
            <div class="room-card">
                <div class="relative">
                    <img src="https://images.unsplash.com/photo-1590490360182-c33d57733427" alt="温泉大床房" class="w-full h-40 object-cover">
                    <div class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded">热销</div>
                </div>
                <div class="p-3">
                    <div class="flex justify-between">
                        <h3 class="font-bold">温泉大床房</h3>
                        <div class="text-red-500 font-medium">
                            <span class="text-xs">¥</span>
                            <span class="text-lg">458</span>
                        </div>
                    </div>
                    <div class="flex flex-wrap mt-2">
                        <span class="tag">大床</span>
                        <span class="tag">35㎡</span>
                        <span class="tag">私家温泉</span>
                        <span class="tag">含早餐</span>
                    </div>
                    <div class="flex items-center justify-between mt-3">
                        <div class="text-sm text-gray-500">
                            <span>有窗</span>
                            <span class="mx-1">|</span>
                            <span>2人入住</span>
                        </div>
                        <button class="bg-blue-600 text-white px-4 py-1 rounded-full text-sm">预订</button>
                    </div>
                </div>
            </div>
            
            <!-- 房型2 -->
            <div class="room-card">
                <img src="https://images.unsplash.com/photo-1595576508898-0ad5c879a061" alt="苗族风情套房" class="w-full h-40 object-cover">
                <div class="p-3">
                    <div class="flex justify-between">
                        <h3 class="font-bold">苗族风情套房</h3>
                        <div class="text-red-500 font-medium">
                            <span class="text-xs">¥</span>
                            <span class="text-lg">688</span>
                        </div>
                    </div>
                    <div class="flex flex-wrap mt-2">
                        <span class="tag">套房</span>
                        <span class="tag">50㎡</span>
                        <span class="tag">独立温泉池</span>
                        <span class="tag">含早餐</span>
                    </div>
                    <div class="flex items-center justify-between mt-3">
                        <div class="text-sm text-gray-500">
                            <span>有窗</span>
                            <span class="mx-1">|</span>
                            <span>2-3人入住</span>
                        </div>
                        <button class="bg-blue-600 text-white px-4 py-1 rounded-full text-sm">预订</button>
                    </div>
                </div>
            </div>
        </div>

        <!-- 选项卡 -->
        <div class="tab-container">
            <div class="tab active">详情</div>
            <div class="tab">设施</div>
            <div class="tab">政策</div>
            <div class="tab">评价</div>
        </div>

        <!-- 详情内容 -->
        <div class="py-4">
            <!-- 酒店特色 -->
            <div>
                <h2 class="section-title">民宿特色</h2>
                
                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="t-icon t-icon-swap"></i>
                    </div>
                    <div>
                        <h4 class="font-medium">明清古建筑风格</h4>
                        <p class="text-sm text-gray-600 mt-1">精心修缮的古民居，保留明清时期建筑风格，体验古镇原汁原味的生活氛围</p>
                    </div>
                </div>
                
                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="t-icon t-icon-filter"></i>
                    </div>
                    <div>
                        <h4 class="font-medium">天然温泉私汤</h4>
                        <p class="text-sm text-gray-600 mt-1">每间客房均配备私家温泉池，采用青岩地区优质温泉水，富含矿物质，有助于放松身心</p>
                    </div>
                </div>
                
                <div class="feature-item">
                    <div class="feature-icon">
                        <i class="t-icon t-icon-shop"></i>
                    </div>
                    <div>
                        <h4 class="font-medium">苗族风味早餐</h4>
                        <p class="text-sm text-gray-600 mt-1">提供地道苗族风味早餐，使用当地新鲜食材制作，体验贵州传统美食文化</p>
                    </div>
                </div>
            </div>
            
            <!-- 位置地图 -->
            <div class="mt-6">
                <h2 class="section-title">位置与周边</h2>
                <div class="map-container">
                    <img src="https://images.unsplash.com/photo-1569336415962-a4bd9f69c9ff" alt="地图" class="w-full h-full object-cover">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <button class="bg-blue-600 text-white px-4 py-2 rounded-full text-sm font-medium">
                            查看详细地图
                        </button>
                    </div>
                </div>
                <div class="mt-3">
                    <div class="flex items-center justify-between py-2 border-b border-gray-100">
                        <div class="flex items-center">
                            <i class="t-icon t-icon-location text-blue-600 mr-2"></i>
                            <span>青岩古镇景区</span>
                        </div>
                        <span class="text-gray-500 text-sm">200m</span>
                    </div>
                    <div class="flex items-center justify-between py-2 border-b border-gray-100">
                        <div class="flex items-center">
                            <i class="t-icon t-icon-shop text-blue-600 mr-2"></i>
                            <span>青岩豆腐店</span>
                        </div>
                        <span class="text-gray-500 text-sm">350m</span>
                    </div>
                    <div class="flex items-center justify-between py-2 border-b border-gray-100">
                        <div class="flex items-center">
                            <i class="t-icon t-icon-bus text-blue-600 mr-2"></i>
                            <span>古镇中心站</span>
                        </div>
                        <span class="text-gray-500 text-sm">500m</span>
                    </div>
                </div>
            </div>
            
            <!-- 设施服务 -->
            <div class="mt-6">
                <h2 class="section-title">设施服务</h2>
                <div class="flex flex-wrap">
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-wifi"></i>
                        </div>
                        <span class="text-xs">免费WiFi</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-filter"></i>
                        </div>
                        <span class="text-xs">温泉</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-shop"></i>
                        </div>
                        <span class="text-xs">餐厅</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-parking"></i>
                        </div>
                        <span class="text-xs">停车场</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-user"></i>
                        </div>
                        <span class="text-xs">24小时前台</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-desktop"></i>
                        </div>
                        <span class="text-xs">智能电视</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-discount"></i>
                        </div>
                        <span class="text-xs">行李寄存</span>
                    </div>
                    <div class="facility-item">
                        <div class="facility-icon">
                            <i class="t-icon t-icon-ellipsis"></i>
                        </div>
                        <span class="text-xs">更多</span>
                    </div>
                </div>
            </div>
            
            <!-- 入住须知 -->
            <div class="mt-6">
                <h2 class="section-title">入住须知</h2>
                <div class="text-sm text-gray-600 leading-relaxed">
                    <p class="mb-3"><span class="font-medium text-gray-700">入住时间：</span>14:00后，退房时间：12:00前</p>
                    <p class="mb-3"><span class="font-medium text-gray-700">预订政策：</span>至少提前1天预订</p>
                    <p class="mb-3"><span class="font-medium text-gray-700">取消政策：</span>入住前24小时可免费取消，逾期将收取首晚房费</p>
                    <p class="mb-3"><span class="font-medium text-gray-700">押金政策：</span>入住时需缴纳200元押金，退房时退还</p>
                    <p><span class="font-medium text-gray-700">儿童政策：</span>1.2米以下儿童免费入住，不含早餐</p>
                </div>
            </div>
            
            <!-- 用户评价 -->
            <div class="mt-6">
                <div class="flex justify-between items-center">
                    <h2 class="section-title mb-0">用户评价(358)</h2>
                    <span class="text-blue-600 text-sm">查看全部</span>
                </div>
                
                <div class="mt-4">
                    <!-- 评价1 -->
                    <div class="pb-4 border-b border-gray-100 mb-4">
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-200 mr-3 overflow-hidden">
                                <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="用户头像" class="w-full h-full object-cover">
                            </div>
                            <div>
                                <div class="font-medium">张小花</div>
                                <div class="flex text-orange-400 text-xs mt-1">
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                </div>
                            </div>
                            <div class="ml-auto text-gray-400 text-xs">2023-04-15</div>
                        </div>
                        <p class="text-sm mt-3">环境非常好，温泉水质很棒，老板很热情。房间布置很有特色，保留了传统苗族元素又不失现代舒适感。早餐很丰盛，品种多样。位置就在古镇中心，出行很方便。</p>
                    </div>
                    
                    <!-- 评价2 -->
                    <div>
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-200 mr-3 overflow-hidden">
                                <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" class="w-full h-full object-cover">
                            </div>
                            <div>
                                <div class="font-medium">李大壮</div>
                                <div class="flex text-orange-400 text-xs mt-1">
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                    <i class="t-icon t-icon-star-filled"></i>
                                </div>
                            </div>
                            <div class="ml-auto text-gray-400 text-xs">2023-03-30</div>
                        </div>
                        <p class="text-sm mt-3">入住体验非常棒，私家温泉简直是享受，24小时随时可以泡。客栈主人很用心，给我们推荐了很多当地的美食和游玩路线。房间设施齐全，床很舒适，睡得很好。</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部预订栏 -->
    <div class="bottom-bar">
        <div class="flex-1">
            <div class="text-xs text-gray-500">均价/晚</div>
            <div class="text-red-500">¥<span class="text-2xl font-bold">458</span><span class="text-sm">起</span></div>
        </div>
        <button class="px-8 py-2 bg-blue-600 text-white rounded-full font-medium">立即预订</button>
    </div>
</body>
</html> 